#ifndef __PROTOCOL_H__
#define __PROTOCOL_H__
#include <Arduino.h>
struct DataItems {
  float x = 0.0f;
  float y = 0.0f;
  float z = 0.0f;
  float battery = 0.0f;
  int Throttle = 0;
  float yaw = 0;
};

extern DataItems dataItems;

void parsePacketAndUpdate(const uint8_t* packet, int packetSize);
#endif